Get

Function

This API is used to get Channel > POE Power page parameters.

Request Message

None.

Sample:

POST /API/ChannelConfig/PoePower/Get HTTP/1.1
{
	"version": "1.0",
	"data": {}
}

Response Message

Parameter Description

Table 1

ParameterRangeTypeDescription
channel“CH1”…”CH1x”
“IP_CH1”…” IP_CH1x”
“WIFI_CH1”…” WIFI_CH1x”
The number of channels depends on the capabilities of the device.
string arrayEach array bit represents a channel with a string.

Table 2

ParameterRangeTypeDescription
channel_infoJSON ObjectChannel Information JSON show as follow Table 3
actual_powerstringUsed power
surplus_powerstringSurplus power
total_powerstringTotal power
channel_min_powerstringMinimum power per channel.
channel_max_powerstringMaximum power per channel.
channel_maxintChannel total

Table 3

ParameterRangeTypeDescription
CH1Json ObjectJSON show as follow Table 4
Json Object
IP_CH1Json Object
Json Object
WIFI_CH1Json Object
Json Object

Table 4

ParameterRangeTypeDescription
channel_current_powerMax length: 7bytestringPower used by the current channel.

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
	"result": "success",
	"data": {
		"channel_info": {
			"CH1": {
				"channel_current_power": "3.05"
			},
			"CH2": {
				"channel_current_power": "2.39"
			},
			"CH3": {
				"channel_current_power": "3.49"
			},
			"CH4": {
				"channel_current_power": "3.61"
			},
			"CH5": {
				"channel_current_power": "3.91"
			},
			"CH6": {
				"channel_current_power": "3.19"
			},
			"CH7": {
				"channel_current_power": "2.39"
			},
			"CH8": {
				"channel_current_power": "3.94"
			},
			"CH9": {
				"channel_current_power": "0.00"
			},
			"CH10": {
				"channel_current_power": "2.75"
			},
			"CH11": {
				"channel_current_power": "4.44"
			},
			"CH12": {
				"channel_current_power": "3.55"
			},
			"CH13": {
				"channel_current_power": "1.54"
			},
			"CH14": {
				"channel_current_power": "2.51"
			},
			"CH15": {
				"channel_current_power": "3.40"
			},
			"CH16": {
				"channel_current_power": "1.92"
			}
		},
		"actual_power": "46.08",
		"surplus_power": "109.92",
		"channel_min_power": "0",
		"channel_max_power": "30",
		"total_power": "156"
	}
}

Error Code

See Response Messages Body and Common error_code for more information.